package com.huan.springboot.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * 用户集合
 *
 * @author huan.fu
 * @date 2018/4/24 - 15:47
 */
@Data
@Document(collection = "users")
public class Users {
	@Id
	private String id;
	private String userId;
	private String name;
	private List<Double> score;
	private Integer age;
}
